package com.yudaob2b.business.entity.po;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.util.Date;

/**
 * @author Kidd.Tan
 * @email 298023780@qq.com
 * @date 7/5/18 11:03 PM
 */
@TableName("elong_hotel_inventory")
public class ElongHotelInventoryPO implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 酒店ID
     */
    @TableId(value = "hotel_id",type = IdType.ID_WORKER)
    private String hotelId;

    /**
     * 房型ID
     */
    private String roomTypeId;

    /**
     * 酒店编码
     */
    private String hotelCode;

    /**
     * 库存时间
     */
    private Date date;

    /**
     * 库存状态,1:true; 0:false
     */
    private int status;

    /**
     * 库存数量
     */
    private int amount;

    /**
     * 超售状态
     */
    private int overBooking;

    /**
     * 可用开始日期
     */
    private Date startDate;

    /**
     * 可用结束日期
     */
    private Date endDate;

    /**
     * 可用开始时间
     */
    private String startTime;

    /**
     * 可用结束时间
     */
    private String endTime;

    /**
     * 库存是否支持即时确认,1:true; 0:false
     */
    private int isInstantConfirm;

    /**
     * 即时确认可用开始时间
     */
    private String icBeginTime;

    /**
     * 即时确认可用结束时间
     */
    private String icEndTime;

    /**
     * 最后更新时间
     */
    private Date updateTime;

    public String getHotelId() {
        return hotelId;
    }

    public void setHotelId(String hotelId) {
        this.hotelId = hotelId;
    }

    public String getRoomTypeId() {
        return roomTypeId;
    }

    public void setRoomTypeId(String roomTypeId) {
        this.roomTypeId = roomTypeId;
    }

    public String getHotelCode() {
        return hotelCode;
    }

    public void setHotelCode(String hotelCode) {
        this.hotelCode = hotelCode;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public int getAmount() {
        return amount;
    }

    public void setAmount(int amount) {
        this.amount = amount;
    }

    public int getOverBooking() {
        return overBooking;
    }

    public void setOverBooking(int overBooking) {
        this.overBooking = overBooking;
    }

    public Date getStartDate() {
        return startDate;
    }

    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }

    public Date getEndDate() {
        return endDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public int getIsInstantConfirm() {
        return isInstantConfirm;
    }

    public void setIsInstantConfirm(int isInstantConfirm) {
        this.isInstantConfirm = isInstantConfirm;
    }

    public String getIcBeginTime() {
        return icBeginTime;
    }

    public void setIcBeginTime(String icBeginTime) {
        this.icBeginTime = icBeginTime;
    }

    public String getIcEndTime() {
        return icEndTime;
    }

    public void setIcEndTime(String icEndTime) {
        this.icEndTime = icEndTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "ElongHotelInventoryPO{" +
                "hotelId='" + hotelId + '\'' +
                ", roomTypeId='" + roomTypeId + '\'' +
                ", hotelCode='" + hotelCode + '\'' +
                ", date=" + date +
                ", status=" + status +
                ", amount=" + amount +
                ", overBooking=" + overBooking +
                ", startDate=" + startDate +
                ", endDate=" + endDate +
                ", startTime='" + startTime + '\'' +
                ", endTime='" + endTime + '\'' +
                ", isInstantConfirm=" + isInstantConfirm +
                ", icBeginTime='" + icBeginTime + '\'' +
                ", icEndTime='" + icEndTime + '\'' +
                ", updateTime=" + updateTime +
                '}';
    }
}
